#!/bin/bash

CATS_UWB_DIR=`pwd`
UWBIOT_TOP_DIR=$1

set -e

if [[ -z $1 ]]; then
    echo Pass uwbiot-top directory as commandline argument
    exit 1
fi

#
# List derived by command `tree -fiU`
# and filtering out directories
#

#
# Create directories
#

mkdir -p ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/wrappers
mkdir -p ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/state_machine

cp ${UWBIOT_TOP_DIR}/binaries/UWBD/SR1XX/H1_IOT.SR150_MAINLINE_PROD_FW_46.43.01_7d38a06f4be3a12c.bin ${CATS_UWB_DIR}/fw_images/UWBD/SR1XX/H1_IOT.SR150_MAINLINE_PROD_FW_46.43.01_7d38a06f4be3a12c.bin
cp ${UWBIOT_TOP_DIR}/binaries/UWBD/SR1XX/H1_IOT.SR150_MAINLINE_PROD_FW_46.43.01_7d38a06f4be3a12c.h ${CATS_UWB_DIR}/fw_images/UWBD/SR1XX/H1_IOT.SR150_MAINLINE_PROD_FW_46.43.01_7d38a06f4be3a12c.h
cp ${UWBIOT_TOP_DIR}/binaries/UWBD/SR1XX/Mainline_Firmware.h ${CATS_UWB_DIR}/fw_images/UWBD/SR1XX/Mainline_Firmware.h

cp ${UWBIOT_TOP_DIR}/libs/CMakeLists.txt ${CATS_UWB_DIR}/libs/CMakeLists.txt
cp ${UWBIOT_TOP_DIR}/libs/halimpl/CMakeLists.txt ${CATS_UWB_DIR}/libs/halimpl/CMakeLists.txt
cp ${UWBIOT_TOP_DIR}/libs/halimpl/fwd/SR1XX/phNxpUciHal_fwd.c ${CATS_UWB_DIR}/libs/halimpl/fwd/SR1XX/phNxpUciHal_fwd.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/fwd/SR1XX/phNxpUciHal_fwd.h ${CATS_UWB_DIR}/libs/halimpl/fwd/SR1XX/phNxpUciHal_fwd.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/fwdl_provider/uwb_fwdl_ext.c ${CATS_UWB_DIR}/libs/halimpl/fwdl_provider/uwb_fwdl_ext.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/fwdl_provider/uwb_fwdl_ram.c ${CATS_UWB_DIR}/libs/halimpl/fwdl_provider/uwb_fwdl_ram.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/hal/phNxpUciHal.c ${CATS_UWB_DIR}/libs/halimpl/hal/phNxpUciHal.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/hal/phNxpUciHal_ext.c ${CATS_UWB_DIR}/libs/halimpl/hal/phNxpUciHal_ext.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/nxAntennaDefine.h ${CATS_UWB_DIR}/libs/halimpl/inc/nxAntennaDefine.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/nxEnsure.h ${CATS_UWB_DIR}/libs/halimpl/inc/nxEnsure.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpLogApis_App.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpLogApis_App.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpLogApis_Board.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpLogApis_Board.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpLogApis_FwDnld.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpLogApis_FwDnld.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpLogApis_HalUci.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpLogApis_HalUci.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpLogApis_HalUtils.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpLogApis_HalUtils.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpLogApis_SE_Wrapper.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpLogApis_SE_Wrapper.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpLogApis_Swup.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpLogApis_Swup.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpLogApis_TmlUwb.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpLogApis_TmlUwb.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpLogApis_UciCore.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpLogApis_UciCore.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpLogApis_UwbApi.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpLogApis_UwbApi.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpLogDefault.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpLogDefault.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpUciHal_Adaptation.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpUciHal_Adaptation.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpUciHal_CoreConfig.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpUciHal_CoreConfig.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpUciHal_ext.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpUciHal_ext.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpUciHal.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpUciHal.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpUciHal_utils.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpUciHal_utils.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phNxpUwbConfig.h ${CATS_UWB_DIR}/libs/halimpl/inc/phNxpUwbConfig.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phOsalUwb.h ${CATS_UWB_DIR}/libs/halimpl/inc/phOsalUwb.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phOsalUwb_Internal.h ${CATS_UWB_DIR}/libs/halimpl/inc/phOsalUwb_Internal.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phOsalUwb_Queue.h ${CATS_UWB_DIR}/libs/halimpl/inc/phOsalUwb_Queue.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phOsalUwb_Thread.h ${CATS_UWB_DIR}/libs/halimpl/inc/phOsalUwb_Thread.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phOsalUwb_Timer.h ${CATS_UWB_DIR}/libs/halimpl/inc/phOsalUwb_Timer.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phTmlUwb.h ${CATS_UWB_DIR}/libs/halimpl/inc/phTmlUwb.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phTmlUwb_transport.h ${CATS_UWB_DIR}/libs/halimpl/inc/phTmlUwb_transport.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phUwb_BuildConfig.h ${CATS_UWB_DIR}/libs/halimpl/inc/phUwb_BuildConfig.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phUwbCommon.h ${CATS_UWB_DIR}/libs/halimpl/inc/phUwbCommon.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phUwbCompId.h ${CATS_UWB_DIR}/libs/halimpl/inc/phUwbCompId.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phUwbErrorCodes.h ${CATS_UWB_DIR}/libs/halimpl/inc/phUwbErrorCodes.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phUwbStatus.h ${CATS_UWB_DIR}/libs/halimpl/inc/phUwbStatus.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/phUwbTypes.h ${CATS_UWB_DIR}/libs/halimpl/inc/phUwbTypes.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/utlv.h ${CATS_UWB_DIR}/libs/halimpl/inc/utlv.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/uwb_board_flash_interface.h ${CATS_UWB_DIR}/libs/halimpl/inc/uwb_board_flash_interface.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/uwb_board_values.h ${CATS_UWB_DIR}/libs/halimpl/inc/uwb_board_values.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/uwb_bus_interface.h ${CATS_UWB_DIR}/libs/halimpl/inc/uwb_bus_interface.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/UwbCoreSDK_Internal.h ${CATS_UWB_DIR}/libs/halimpl/inc/UwbCoreSDK_Internal.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/UWB_Evt.h ${CATS_UWB_DIR}/libs/halimpl/inc/UWB_Evt.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/uwb_extfl_provider_interface.h ${CATS_UWB_DIR}/libs/halimpl/inc/uwb_extfl_provider_interface.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/uwb_fwdl_provider.h ${CATS_UWB_DIR}/libs/halimpl/inc/uwb_fwdl_provider.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/uwb_iot_ftr_default.h ${CATS_UWB_DIR}/libs/halimpl/inc/uwb_iot_ftr_default.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/uwb_iot_ftr.h.in ${CATS_UWB_DIR}/libs/halimpl/inc/uwb_iot_ftr.h.in
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/uwbiot_ver.h ${CATS_UWB_DIR}/libs/halimpl/inc/uwbiot_ver.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/uwb_logging.h ${CATS_UWB_DIR}/libs/halimpl/inc/uwb_logging.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/uwb_uwbs_tml_interface.h ${CATS_UWB_DIR}/libs/halimpl/inc/uwb_uwbs_tml_interface.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/inc/uwb_uwbs_tml_io.h ${CATS_UWB_DIR}/libs/halimpl/inc/uwb_uwbs_tml_io.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/log/CMakeLists.txt ${CATS_UWB_DIR}/libs/halimpl/log/CMakeLists.txt
cp ${UWBIOT_TOP_DIR}/libs/halimpl/log/nxLog.c ${CATS_UWB_DIR}/libs/halimpl/log/nxLog.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/osal/phOsalUwb_FreeRTOS.c ${CATS_UWB_DIR}/libs/halimpl/osal/phOsalUwb_FreeRTOS.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/osal/phOsalUwb_Queue_FreeRTOS.c ${CATS_UWB_DIR}/libs/halimpl/osal/phOsalUwb_Queue_FreeRTOS.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/osal/phOsalUwb_Thread_FreeRTOS.c ${CATS_UWB_DIR}/libs/halimpl/osal/phOsalUwb_Thread_FreeRTOS.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/osal/phOsalUwb_Timer_FreeRTOS.c ${CATS_UWB_DIR}/libs/halimpl/osal/phOsalUwb_Timer_FreeRTOS.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/README.md ${CATS_UWB_DIR}/libs/halimpl/README.md
cp ${UWBIOT_TOP_DIR}/libs/halimpl/tml/phTmlUwb.c ${CATS_UWB_DIR}/libs/halimpl/tml/phTmlUwb.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/tml/phTmlUwb_transport.c ${CATS_UWB_DIR}/libs/halimpl/tml/phTmlUwb_transport.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/transport/SPI/common/phNxpUwb_Common.c ${CATS_UWB_DIR}/libs/halimpl/transport/SPI/common/phNxpUwb_Common.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/transport/SPI/phNxpUwb_Common.h ${CATS_UWB_DIR}/libs/halimpl/transport/SPI/phNxpUwb_Common.h
cp ${UWBIOT_TOP_DIR}/libs/halimpl/transport/SPI/SR1XX/uwb_uwbs_tml_interface.c ${CATS_UWB_DIR}/libs/halimpl/transport/SPI/SR1XX/uwb_uwbs_tml_interface.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/utils/phNxpUciHal_utils.c ${CATS_UWB_DIR}/libs/halimpl/utils/phNxpUciHal_utils.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/utils/phNxpUwbConfig.c ${CATS_UWB_DIR}/libs/halimpl/utils/phNxpUwbConfig.c
cp ${UWBIOT_TOP_DIR}/libs/halimpl/utils/utlv.c ${CATS_UWB_DIR}/libs/halimpl/utils/utlv.c
cp ${UWBIOT_TOP_DIR}/libs/README.md ${CATS_UWB_DIR}/libs/README.md
cp ${UWBIOT_TOP_DIR}/libs/uci-core/CMakeLists.txt ${CATS_UWB_DIR}/libs/uci-core/CMakeLists.txt
cp ${UWBIOT_TOP_DIR}/libs/uci-core/inc/SRXXX/uci_ext_defs.h ${CATS_UWB_DIR}/libs/uci-core/inc/SRXXX/uci_ext_defs.h
cp ${UWBIOT_TOP_DIR}/libs/uci-core/inc/uci_defs.h ${CATS_UWB_DIR}/libs/uci-core/inc/uci_defs.h
cp ${UWBIOT_TOP_DIR}/libs/uci-core/inc/uci_hmsgs.h ${CATS_UWB_DIR}/libs/uci-core/inc/uci_hmsgs.h
cp ${UWBIOT_TOP_DIR}/libs/uci-core/inc/uci_test_defs.h ${CATS_UWB_DIR}/libs/uci-core/inc/uci_test_defs.h
cp ${UWBIOT_TOP_DIR}/libs/uci-core/inc/uwa_api.h ${CATS_UWB_DIR}/libs/uci-core/inc/uwa_api.h
cp ${UWBIOT_TOP_DIR}/libs/uci-core/inc/uwa_dm_int.h ${CATS_UWB_DIR}/libs/uci-core/inc/uwa_dm_int.h
cp ${UWBIOT_TOP_DIR}/libs/uci-core/inc/uwa_sys.h ${CATS_UWB_DIR}/libs/uci-core/inc/uwa_sys.h
cp ${UWBIOT_TOP_DIR}/libs/uci-core/inc/uwb_int.h ${CATS_UWB_DIR}/libs/uci-core/inc/uwb_int.h
cp ${UWBIOT_TOP_DIR}/libs/uci-core/inc/uwb_types.h ${CATS_UWB_DIR}/libs/uci-core/inc/uwb_types.h
cp ${UWBIOT_TOP_DIR}/libs/uci-core/README.md ${CATS_UWB_DIR}/libs/uci-core/README.md
cp ${UWBIOT_TOP_DIR}/libs/uci-core/readme.txt ${CATS_UWB_DIR}/libs/uci-core/readme.txt
cp ${UWBIOT_TOP_DIR}/libs/uci-core/src/uci_hmsgs.c ${CATS_UWB_DIR}/libs/uci-core/src/uci_hmsgs.c
cp ${UWBIOT_TOP_DIR}/libs/uci-core/src/uwa_dm_act.c ${CATS_UWB_DIR}/libs/uci-core/src/uwa_dm_act.c
cp ${UWBIOT_TOP_DIR}/libs/uci-core/src/uwa_dm_api.c ${CATS_UWB_DIR}/libs/uci-core/src/uwa_dm_api.c
cp ${UWBIOT_TOP_DIR}/libs/uci-core/src/uwa_dm_main.c ${CATS_UWB_DIR}/libs/uci-core/src/uwa_dm_main.c
cp ${UWBIOT_TOP_DIR}/libs/uci-core/src/uwa_sys_main.c ${CATS_UWB_DIR}/libs/uci-core/src/uwa_sys_main.c
cp ${UWBIOT_TOP_DIR}/libs/uci-core/src/uwb_main.c ${CATS_UWB_DIR}/libs/uci-core/src/uwb_main.c
cp ${UWBIOT_TOP_DIR}/libs/uci-core/src/uwb_task.c ${CATS_UWB_DIR}/libs/uci-core/src/uwb_task.c
cp ${UWBIOT_TOP_DIR}/libs/uci-core/src/uwb_ucif.c ${CATS_UWB_DIR}/libs/uci-core/src/uwb_ucif.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/CMakeLists.txt ${CATS_UWB_DIR}/libs/uwb-iot/CMakeLists.txt
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/README.md ${CATS_UWB_DIR}/libs/uwb-iot/README.md
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/CMakeLists.txt ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/CMakeLists.txt
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/fira_generic/PrintUtility.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/fira_generic/PrintUtility.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/fira_generic/PrintUtility.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/fira_generic/PrintUtility.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/fira_generic/UwbApi.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/fira_generic/UwbApi.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/fira_generic/UwbApi.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/fira_generic/UwbApi.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/fira_generic/UwbApi_Internal.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/fira_generic/UwbApi_Internal.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/fira_generic/UwbApi_Internal.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/fira_generic/UwbApi_Internal.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/fira_generic/UwbApi_Types.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/fira_generic/UwbApi_Types.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/fira_generic/UwbApi_Utility.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/fira_generic/UwbApi_Utility.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/fira_generic/UwbApi_Utility.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/fira_generic/UwbApi_Utility.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/AppConfigParams.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/AppConfigParams.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/AppConfigParams.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/AppConfigParams.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/PrintUtility_Proprietary.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/PrintUtility_Proprietary.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/PrintUtility_Proprietary.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/PrintUtility_Proprietary.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/PrintUtility_RfTest.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/PrintUtility_RfTest.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/PrintUtility_RfTest.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/PrintUtility_RfTest.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/SR1XX/UwbApi_Proprietary_Fm.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/SR1XX/UwbApi_Proprietary_Fm.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/SR1XX/UwbApi_Proprietary_Fm.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/SR1XX/UwbApi_Proprietary_Fm.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_Proprietary.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_Proprietary.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_Proprietary.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_Proprietary.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_Proprietary_Internal.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_Proprietary_Internal.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_Proprietary_Internal.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_Proprietary_Internal.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_RfTest.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_RfTest.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_RfTest.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_RfTest.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_Types_Proprietary.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_Types_Proprietary.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_Types_RfTest.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/proprietary/SRXXX/UwbApi_Types_RfTest.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/wrappers/SE_Wrapper.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/wrappers/SE_Wrapper.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/wrappers/SE_Wrapper.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/wrappers/SE_Wrapper.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/wrappers/UWB_Wrapper.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/wrappers/UWB_Wrapper.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/wrappers/UWB_Wrapper.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/wrappers/UWB_Wrapper.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/state_machine/Binding_StateMachine.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/state_machine/Binding_StateMachine.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/state_machine/Locking_StateMachine.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/state_machine/Locking_StateMachine.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/state_machine/SCP03_StateMachine.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/state_machine/SCP03_StateMachine.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/state_machine/StateMachine.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_api/secure_element/SE05XX/state_machine/StateMachine.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_core/adaptation/UwbAdaptation.c ${CATS_UWB_DIR}/libs/uwb-iot/uwb_core/adaptation/UwbAdaptation.c
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_core/CMakeLists.txt ${CATS_UWB_DIR}/libs/uwb-iot/uwb_core/CMakeLists.txt
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_core/include/UwbAdaptation.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_core/include/UwbAdaptation.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_core/include/uwb_hal_api.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_core/include/uwb_hal_api.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_core/include/uwb_hal_int.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_core/include/uwb_hal_int.h
cp ${UWBIOT_TOP_DIR}/libs/uwb-iot/uwb_core/include/uwb_target.h ${CATS_UWB_DIR}/libs/uwb-iot/uwb_core/include/uwb_target.h

